<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
	html {width: 100%; height: 100%}
		div {
			border: 10px solid red;
			width: 400px;
			height: 400px;
			background: url(2.jpg) no-repeat; 
			background-size: 100% 100%;
			/*background-size: cover;*/
			/*background-size: contain;*/
	</style>
</head>
<body>
	<div></div>
</body>
</html>